//
//  JMDetailView.h
//  OpenSesame
//
//  Created by zhangjiaming on 16/1/5.
//  Copyright © 2016年 OpenSesame. All rights reserved.
//

#import <UIKit/UIKit.h>
@class JMDetailView;

@protocol JMDetailViewDelegate <NSObject>
@optional
/** 键盘遮挡，view上移到distance */
- (void)detailView:(JMDetailView *)detailView moveUpTo:(float)distance;

/** 键盘遮挡，view下移到distance */
- (void)detailView:(JMDetailView *)detailView moveDownTo:(float)distance andRemark:(NSString *)remark;

@end

@interface JMDetailView : UIView
/**
 *  频率
 */
@property (weak, nonatomic) UILabel *frequencyLabel;

/**
 *  适配子机
 */
@property (weak, nonatomic) UILabel *fitLabel;

/**
 *  可选功能
 */
@property (weak, nonatomic) UILabel *optionalLabel;

/**
 *  厂商说明
 */
@property (weak, nonatomic) UILabel *illustrateLabel;

/**
 *  个人备注
 */
@property (weak, nonatomic) UITextView *commentTextView;

@property (weak, nonatomic) UIView *backview2;

@property (weak, nonatomic) id <JMDetailViewDelegate> delegate;
@end
